Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket writing/reading procedures.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
In my client/server application, Client sends various types of data (string, int, and so on). How can i handle all data types at server side ?

Server can take only a string, if i send int it also takes input as bytes array, so its good for string but not for other data types.

If there some universal method which can read any data types from sockets ? Or how can i solve this problem using standard sockets writer/reader ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top