Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4495

General • Socket programming on Pico-W

$
0
0
Hi Guys,

Just wondering if it is possible to do old school socket programming, like found in Winsock (Windows) or sys/socket.h (Linux).

I am quite familiar with networking in C/C++ in Windows & Linux, but haven't really found an equivalent for the Pico. It seems that you have to use RTOS, LWIP, and picking a protocol like HTTP etc.

I'd like to be able to make a connection and stream data via TCP, receive it at the other end, decode the packets myself, and go about my day. Handling any transmission errors, connection issues, etc, myself.

Is this possible?

Thanks in advance.

Statistics: Posted by Lonewolff — Mon Mar 04, 2024 2:04 am — Replies 3 — Views 59



Viewing all articles
Browse latest Browse all 4495

Trending Articles