I've been googling and trying to do this for 6+ hours now and I'm EXTREMELY frustrated since most posts about it are too old to work or are just wrong. And even those are very rare.
All I want is make a socket, connect to a server in my local network listening on a port and send a simple text message.
I hope someone can post a little sample code doing that or explaining how it works (or both

).
I've managed to connect to my WLAN and I found the sceNetInetConnect function. But now I'm stuck with the parameters.