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

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -