| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Disconnecting a connected UDP socket |
| From: | Shibu LKML <shibu_lkml@xxxxxxxxx> |
| Date: | Wed, 2 Jul 2003 20:16:10 -0700 (PDT) |
| Sender: | netdev-bounce@xxxxxxxxxxx |
|
Hi,
I am wondering if Linux supports disconnecting a connected UDP socket. The manpage for connect lists it in the BUGS section. It says disconnect is still not supported. I was wondering if it involves more than adding the following lines to udp_connect in udp.c
if (usin->sin_family == AF_UNSPEC)
return udp_disconnect(sk, 0); (just above sk_dst_reset(sk))
Will this fix the problem for IPV4 stuff?
Regards
Shibu
Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: impressive throughput on 2.5.73, Dave Hansen |
|---|---|
| Next by Date: | RE: impressive throughput on 2.5.73, Dave Hansen |
| Previous by Thread: | impressive throughput on 2.5.73, Dave Hansen |
| Next by Thread: | [PATCH] NET: disconnect support by null address (is Re: Disconnecting a connected UDP socket), YOSHIFUJI Hideaki / 吉藤英明 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |