Showing posts with label Client-server. Show all posts
Showing posts with label Client-server. Show all posts

Thursday, December 26, 2013

Client-Server Socket Programming in Java


Hey geeks, today I would like to share about some networking concepts like socket programming in Java. We will see how to communicate between Server and Clients using core Java programming. Socket programming can be done in many langauges, basically it's done in C programming because C is a system programming langauge but in Java it's quite easier then the C programming. We can say, the magic in socket programming is that it's not necessary that your Server and Client both should be written in same langauges, it can be possible to write Server code in C programming and Client in Java programming and vice-versa. But there should be proper sycncronization and it's depends on the logic of programmer who is concern with the Application he/she is doing. Here I am considering that you guys have the basic knowledge of Socket programming and the methods used in it.