473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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 1764

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

Similar topics

0
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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
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...
0
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.