Archived

This topic is now archived and is closed to further replies.

Ratman

Java question

Recommended Posts

Ratman    181
Im writting my game in C++ and was going to use Winsock for player-player game connections (the game is peer to peer). But I wanted to write "a master server" program that will run on my linux box that is connected to a T1 in java. Players would connect to it to find other players, then go off and connect directly to another player to actually play. I want to write this in java because I already have a pretty rich library built up of classes I''d like to use (in java). My question is will I be able to use Java''s built in Socket class to communicate with my C++ client software using Winsock? or are they completely different things? Thanks Ratman --------------- Ratfest.org

Share this post


Link to post
Share on other sites
WORF    112
As long as you have winsock and java''s Socket class both talking TCP/IP (which they do...) they''ll be able to talk to each other perfectly well.

You shouldn''t have any problems.

Share this post


Link to post
Share on other sites