Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I am using Xsocket for Duplex communication between server -client .

Every thing was working fine . my sample can work on different network but i find out the Main issue in Xsocket..

if Client is behind Router and proxy ,Proxy preventing ICMP traffic Then Xsocket Not send/receive Any Message between Server and Client.

I don't know how to handle this issue in my Program .

Can you Help me please ??

Thanks Advance .
Posted
Comments
Nathan Minier 22-Dec-14 7:56am    
XSocket is not in current development, and might not be a good choice for new application development. Depending on what you're trying to do, you might consider migrating to Signalr for your network access.
Adam Lee 22-Dec-14 8:37am    
:O really , you mean Xsocket is not a good choice for duplex communication ?
I choose Xsocket because using xsocket we can easy build a windows application for both client and server.. but using signalR i could not find windows base application for both server and client.. can you help me?
Nathan Minier 22-Dec-14 11:48am    
If you have a look at xsocket.org, you'll notice the banner up top proclaiming that active development has been halted.

Signalr performs a similar function, but leans on HTTP. I'm not terribly familiar with other frameworks, honestly. If I need to code for sockets I just use the System.Net.Sockets namespace.
Adam Lee 23-Dec-14 4:59am    
yeah I i got its thanks you for tell me .
I'd like get suggestion from you ,what should i use for duplex communication between server and client and also handle firewall blocking thing..should work like a skype working.even client behind nat or proxy or firewall .skype still work on all cases..
Nathan Minier 23-Dec-14 7:24am    
I'd dig into SignalR some, then. It's better IMO to use software users are likely to have (such as browsers) to support your client-side operations if possible, rather than a custom installed client. Moreover, firewalls and routers are generally configured to handle and inspect HTTP packets, giving it that interoperability you're looking for coupled with better security from whatever appliances are handling the packets.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900