Please post your code. I assure you, everything is working great in ICS ...
/ Ionut Muntean zayin wrote: > Hello Wilfried, > > >> Are you sure you filled in the correct IP? >> > > Yes. > > >> Do you create all in code or do you have TWSocket component on your form? >> > > On the form. > > I deleted the original component, put a new TWSocket on the form, set the > addr to 192.168.245.2, set the proto to udp, called listen, called Send and > got the bind failure. > > Calling connect instead of listen and then send performs without error. I > see the data on the other computer. > > So, it appears UDP does require two TWSocket. One to send and one to listen. > > Ideas? > > Ciao, > > Mark > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Wilfried Mestdagh > Sent: Tuesday, April 01, 2008 2:26 AM > To: ICS support mailing > Subject: Re: [twsocket] UDP Newbie... > > Hello Mark, > > >> If I call listen and then try to send I get an error 10049 (Bind >> Address not >> available) >> > > Are you sure you filled in the correct IP? > > >> If I call connect and then send, I see the data at the other end but I >> do not get any response in the DataAvailable callback. >> > > No because of the error in previous paragraph it will not listen. > > >> If I open a second TWSocket to listen I get a callback. >> > > So that is strange. Do you create all in code or do you have TWSocket > component on your form? If the latter then I suggest to delete it and try > with a fresh one. Maybe you have changed some properties and have a conflikt > now. > > keep a copy of it to check later what exact was changed ! > > --- > Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://www.mestdagh.biz > > -- > To unsubscribe or change your settings for TWSocket mailing list please goto > http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be