On Tue, 2006-09-05 at 11:58 +0300, Erez D wrote:
> i did listen on both sides,
> 
> if i use send, or write (from the server) i get : 
>   write: Transport endpoint is not connected
> if i use sendto, i get:
>    sendto: Cannot assign requested address
> 
> what sockaddr do i need to put in the server's sendto() ? 
> 
> erez.
> 

In the sendto, you put the target's IP address and port.
In the recvfrom, you put the source's IP address and port.

Gilboa



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to