Forums Register Login

Client Server communication

+Pie Number of slices to send: Send
Hi,

I am new to socket programming, and i want to write one program for client server socket communication.

I want to establish connection between two Machine lets say Computer A and Computer B both are in LAN.

Computer A Opens server socket, and wait for a particular port for client to send request.

Now computer B(Client) sends request to A, A accepts the connection. and send below information to computer B

- Message per Seconds (message/sec computer b can send to computer a)
- length of the message in byte, the computer b should send the exact length of message to computer a and when computer a response should be of the same length, content of the message cam be anything.

Now how do i handle the scenario of message per second ???

+Pie Number of slices to send: Send
What have you tried so far?
+Pie Number of slices to send: Send
I am still thinking on it.

I think Thread is the answer to my question but still i am not sure. I am confused.
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1010 times.
Similar Threads
Server/Client simple doubt
socket programming on 2 ports
Forward Socket to another server socket
socket programming : connect server to client
Generating KeyStrokes
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:11:03.