473,498 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How Do I Full Duplex Communication Between Client/Server Model Using Web Sockets If C

1 New Member
I have more than 100 Clients .
1) Each clients are behind router. (mean external IP always change)
2) Each Clients have its own local DB SQL.
3) Each Clients using Windows Application c#.
4) Each clients have not install IIS.
5) Each Clients will have internet Connection.

My Server is Web application(ASP.Net) and on open network and have Static IP.

There is no LAN networking between Clients And Server.they are independent on each other.(e.g your pc and my pc is not on lan networking)

on Base of above Description about Client-Server Model ,i am going make Full Duplex Communication Between Clients And Server.mean i want Clients can get data from Server and Server also can get Data From Clients .both can Send/Receive Data from each other.
e.g(your pc and my pc are not on same network. i give my external ip to you and you send "hello world" to me.i response back to you "helo client! i am server.")

I've R&D on this situation. I find out that Its possible to make a full duplex Communication between Server And Clients.



I post My Question For help me do this job .i am getting issue Because i am poor in networking Programming like socket, SingalR ,Web-socket , UPNP,TCP/IP ,UDP,NAT traversing etc. But i have Trying to implement TCP/IP ,Socket,UDP,NAT traversing , Port Forwarding .But I find other that on basis above description i reached that I cant done my job using (TCP/IP ,Socket,UDP,NAT traversing , Port Forwarding) .

I Find out if Server is Web sockets. The latest C#, .NET, and Asp.NET support the Web Socket standards. It basically gives full duplex communication capabilities between a client and web server.
But My Clients using Desktop Application and Server Usig a Web Application and on Clients there is no IIS.

if i use web-socket on server side then i want some one please Help me with example of code or sample(no chat sample please) in which the clients needs to connect to the server first,need initiate the connection first.and server response back to client like "hello clients your ip is this and i am server".

If you can help me then please following thing must tell me.

1 Window base client will how initiate connection with server web base.here please write a line of code which will do this job.*its will use Server ip or what.* and this code will be run on clients PC or Server Side?.

2) also tell me that how server will detect Client if clients more than 3 and response back how?

Thanks you so much For read if still have any question to ask ,just ask me,if you'd like to help by using screen share or skype or any easy way its will be more pleasure for me.
Nov 28 '14 #1
0 1770

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1042
by: Andrew Baker | last post by:
Hi Muzzy, I am not sure I understood your post, but here is a quick demo I knocked up. Let me know if this solves your problem... ...
1
8358
by: Chin Fui | last post by:
I am now doing my final year project using VB.NET. The project is about implement a multiplayer network game. But now I am stuck in the connection part, no idea in how to start to write the network...
0
800
by: Glenn | last post by:
Hello Is it possible to implement a server initiated communication to a client which is a vb.net active control. I have a web application which must drop a client onto a pc and then send...
1
15592
by: verge | last post by:
hello everyone! how's it going? like everyone in here im in need of some help and good friendship along the way...take a look at this: //MODIFIED SO IT DEALS WITH WINDOWS FTP USING ACTIVE...
1
1660
by: deepthy_raj | last post by:
How to write client-Server programming using Web request and web response.I want to send a request to server by giving url and my server will pick up that url and will give a response to client...
1
1994
by: deepthy_raj | last post by:
want to write one seperate client program for establishing a connection with the client and to send a url for a page from server ..After that i want to write one seperate server program for to...
2
1576
by: mjain | last post by:
Hi, I want to know as to how I can call a remote machine php file without using the HTTP or the HTTPS protocols ? I want to do this to reduce the overhead on my server. Do we have any such...
1
1990
by: vishwa Ram | last post by:
Hi all. nsgml parser (exe,dtd,ent and all), is placed centralized server place in Intra-Networking Mode. Eg: E:\Pbm\nxgml here The server mapped on E:\. In my Catalog file(without extn)...
1
1222
by: JohnDenver62 | last post by:
Hi all, I am trying to write a client/server application for TCP or UDP actually at this point the protocol is not important, I am trying to sort out the logic / flow diagram of the problem. ...
0
1126
by: ragsnayak | last post by:
Hi, I'm looking for reference material for "client server programming using C on windows environment". I'm using eclipse CDT IDE and Migwin for the development. Can anyone help me out? ...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
291
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.