Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello All
I am making my own browser and the work is done successfully. but, client want that the project, which i have done for him, bind with server also so that transaction will
not failed, (client)he is going to launch his business he will launch his company web browser that help it's customer to book movie ticket or other product without failing


So if anyone have idea please help me
1) how to bind server socket and client socket
2) how to send data by socket to server


i am waiting for replay


thanks
Posted

I am little doubtful about these requirements. See if your requirements can be met with some examples in these links.

An Asynchronous Socket Server and Client[^]
An Introduction to Socket Programming in .NET using C#[^]
Sockets in C#[^]
TCP/IP Chat Application Using C#[^]
 
Share this answer
 
There are several requirements that would need to take place for this system to work correctly. Socket security is the main important issue involving outside connections to an otherwise unknown socket protocol (unless he is attempting to use an already existing API)

The most important aspect in resolving a socket response is having the ability to receive or know the socket's existing protocols or rules when establishing a connection. With most internet browsers connecting to internet servers you will need to send out a header response before receiving anything from the server, otherwise the socket (port 80) will give no response (in most cases).

Best answer, use a pre-existing protocol for the ticket system socket connection and then alter it depending on the restrictions required in the security write-up (most of the time you won't just create a socket just to create a socket, but will create it because of limitations from previous or already existing socket protocols)

I hope this helps.
 
Share this answer
 
Comments
Richard MacCutchan 17-Dec-19 11:00am    
"I hope this helps."
Well, seven years ago it probably would. But if this project is still not resolved then I doubt that the client is still happily paying for it. It is always best to check when a question was posted before working on an answer,

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