From: Alexandre C. <ac...@me...> - 2011-04-27 13:11:12
|
It is normal in your case to not see anything using Wireshark because it's on the same PC and the packets will not get out of the physical interface. You can't see loopback packets when using Wireshark. Did you set different UDP port? I'm using a SIPP client and server on the same machine and I have no problem. De : rakeen siena [mailto:rak...@go...] Envoyé : 27 avril 2011 05:21 À : sip...@li... Objet : [Sipp-users] Client and Server using the same IP Address Hi, initially I started to set up a Client and then a Server, tested them. Both were working fine when they were running on different machines, but now I thought of combining them in the same source code and run them on the same machine. The result is that I can see no connection between the Client and the Server. Since I am trying to run it on the same machine in both cases the IP Address is the same, I have initialized both of them with the same IP Address.But still I could not establish a connection. I am using UDP for sending and receiving the data between the Client and the Server. Any mistake I am making in this case or any important thing I have forgot to initialize. For example on Server side: ServAddr.sin_addr.s_addr = inet_addr("1.2.3.4"); On Client side: ClientAddr.sin_addr.s_addr = inet_addr("1.2.3.4"); I cant even sniff any data transfer using wireshark. Regards Rakeen |