I'm going to develop a UDP server socket on Series 60 (Symbian 6.1). This means the Socket should be bind to any address and a specific port.
For this I
(1) created a SocketServer,
(2) connected the Socket Server
(3) created a Socket:
myUDPServerSocket.open(socksrv, KAfInet, KSockDatagram, KProtocolInetUdp);
(4) created a TInetAddr:
Code: myLocalAddr = new TInetAddr(KInetAddrAny, 1234);
(5) bind the socket to that address:
This binding seams not be working.
I use the emulator and I have connection to the network (I can send packets). I even I can receive packets at this sending socket (I used ethereal to find out the port of this sending socket).
Thx for helping!