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.

On 9/5/06, Danny L <[EMAIL PROTECTED]> wrote:
udp is datagrams.  if you want bi-direction you need listeners on both sides

Erez D wrote:
> hi
>
> i'm trying to build a client + server using udp (in c)
>
> i can send from the client to the server,
> but when i reply from the sender to the client, i get:
>
> write: Transport endpoint is not connected
>
> so my question is: can i use a udp connection bidirectionly, or do i
> need to open two ?
>
> thanks,
> erez.

--
Danny Lieberman
Secure software specialists
http://www.software.co.il
Office + 972  3 610-9750
Cell   + 972 54 447-1114



Reply via email to