Skip to content

Comment on Beej updated the classic Linux network programming guideparent

Comments

No, not necessarily. You can use these APIs directly from many different languages. For example, Python has 'socket'[1], Ruby has 'socket'[2], Julia has 'Sockets'[3], PHP has 'socket_*'[4].

1. https://docs.python.org/3/library/socket.html

2. https://ruby-doc.org/stdlib-2.5.3/libdoc/socket/rdoc/Socket....

3. https://docs.julialang.org/en/v1/stdlib/Sockets/

4. https://www.php.net/manual/en/ref.sockets.php

I went through a ton of linux socket tutorials that were in C using that Ruby Socket library. Highly recommend!

Edit: This is a more up to date link. I don't think the library has changed since 2.5.3, but I usually try to look at latest documentation: https://ruby-doc.org/stdlib-3.1.2/libdoc/socket/rdoc/Socket....

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.