java - Can sockets accessed in different programming languages communicate? -
are sockets programming language independent?
can keep server written in java , client written in c?
absolutely. otherwise pretty hard write web browser , web server, example...
of course, data communicate on socket may easier read 1 language - example if use java's dataoutputstream
, that's going easier manage java @ other end read data. still could read data, format documented.
if put absolutely platform-specific data across network though, makes things harder - tricky use object serialized java's objectoutputstream
non-java platform, example.
but @ raw sockets level, there's no concept of programming language source happened written in.
Comments
Post a Comment