TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Or Nakash
NA
9
3.1k
Sockets - check connection by client.
Nov 18 2018 6:44 PM
Hey guys. I created a multiple client/server application using sockets in c#. Everything works just fine. Now can you please help me create a code that will allow a client to check if another client is connected to the server(By IP)? I have an idea but I don't know how to implement it. I want something like that: Client #1 has connected. Client #2 has connected. Client #1 sends to server: "check 45.56.128.20" if client #2 is connected, do nothing. Else: Server sends to Client #1: "The client is not connected". My server size code: http://pastebin.com/vmwJFxFt My client side code: http://pastebin.com/YD28bNCg (I did not write the server&client codes) Thank you!
Reply
Answers (
1
)
how to share sqlite db to the multiple computer
What should I do before I start in Xamarin?