Sponsored Content
Full Discussion: USB-Ethernet/Ethernet-USB
Top Forums UNIX for Advanced & Expert Users USB-Ethernet/Ethernet-USB Post 302903645 by fedora18 on Wednesday 28th of May 2014 06:20:32 PM
Old 05-28-2014
its ground surveying equipment used to measure gamma rays. I wouldnt use a whole extra computer I would just have another process run on logging computer to handle it. as it stands now the USB server reads USB ports and sends them via a socket to a client on the same machine for graphical drawing to tell user that the devices are working. so I would just end up with two clients working with the same server.

---------- Post updated at 06:20 PM ---------- Previous update was at 06:03 PM ----------

i'm curious: for your building's solar instrumentation are you bundling all of that incoming data in one process? I am using the select() funciton to monitor the serial devices along with incoming socket connections. Is your setup similar?
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ethernet

We are trying to Establish Network using Linux.Now we are facing the problem in configring Ethernet.In out network we are giving eth0 in server and activating it at the boot time,so it is activating as it is but when we define the Ethernet of node on server and allowing it to activate at boot time... (5 Replies)
Discussion started by: at_renai2001
5 Replies

2. Solaris

Quad Ethernet

I have a Quad Ethernet card in a 220R. 2 ports activated. Each has its own hostname file and both hostnames are in the hosts file. I want both ports to have the same IP address so we can use the 2nd port in case we lose communication on the port. On bootup, the box gives me: SIOCSLIFFLAGS:... (5 Replies)
Discussion started by: hshapiro
5 Replies

3. AIX

ethernet down

Hello everyone I have a problem with one server, has Aix 5.3 in the errpt has this message IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION F3931284 0105133009 I H ent0 ETHERNET NETWORK RECOVERY MODE EC0BCCD4 0105133009 T H ent0 ETHERNET DOWN F3931284 ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

4. Solaris

Ethernet Port Name

I have a new Sun 440 and I am trying to configure it. Non of the Ethernet ports are enabled; when I issue "ifconfig -a" it returns nothing. Is there a way to know the available port name (e.g. ce, bge, etc.) by running a command or so ? (4 Replies)
Discussion started by: StarSol
4 Replies

5. Solaris

ethernet

my solris box network is unreachable how to solve this ipaddress assiagning and entry in vi /etc/host how to solve network is unreachable (2 Replies)
Discussion started by: tirupathi
2 Replies

6. Solaris

solaris ethernet card and mounting usb drives

I had installed soalris 10 on my dell vostro 1400.It had installed succefully. If i type ifconfig -a it is showing only my loop back adpater. So how to tell me how to mount my usb drive and how to configure my lan ethernet card,My lan ethernet card is Broadcom. Tell me step... (1 Reply)
Discussion started by: testerindia25
1 Replies

7. UNIX for Dummies Questions & Answers

USB-USB cable between linux and windows computers

Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive. Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies

8. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies
SOCKET_ACCEPT(3)							 1							  SOCKET_ACCEPT(3)

socket_accept - Accepts a connection on a socket

SYNOPSIS
resource socket_accept (resource $socket) DESCRIPTION
After the socket $socket has been created using socket_create(3), bound to a name with socket_bind(3), and told to listen for connections with socket_listen(3), this function will accept incoming connections on that socket. Once a successful connection is made, a new socket resource is returned, which may be used for communication. If there are multiple connections queued on the socket, the first will be used. If there are no pending connections, socket_accept(3) will block until a connection becomes present. If $socket has been made non-blocking using socket_set_blocking(3) or socket_set_nonblock(3), FALSE will be returned. The socket resource returned by socket_accept(3) may not be used to accept new connections. The original listening socket $socket, how- ever, remains open and may be reused. PARAMETERS
o $socket - A valid socket resource created with socket_create(3). RETURN VALUES
Returns a new socket resource on success, or FALSE on error. The actual error code can be retrieved by calling socket_last_error(3). This error code may be passed to socket_strerror(3) to get a textual explanation of the error. SEE ALSO
socket_connect(3), socket_listen(3), socket_create(3), socket_bind(3), socket_strerror(3). PHP Documentation Group SOCKET_ACCEPT(3)
All times are GMT -4. The time now is 11:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy