Search Results

Search: Posts Made By: metrix
Forum: Programming 09-22-2010
2,849
Posted By metrix
I modified my code to use poll to wait for data...
I modified my code to use poll to wait for data from sockets and commented out the ioctl() call and added poll() calls so that I wouldn't have to worry about waiting indefinitely on readable data to...
Forum: Programming 09-22-2010
2,849
Posted By metrix
TCP trashing data on application close
I am using c to send data to a socket with the following commands:

socket = socket(AF_INET, SOCK_STREAM, ptrp->p_proto);
ioctl(socket, FIONBIO, (char *)&on);
connect(socket)
send(socket,data)...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy