Hi Ongta, as with VC++, il have to include ws2_32 lib which, for tcc on Windows is passed as –lws2_32 on command line.
So command line looks like: tcc –o foo.exe foo.c –lws2_32 Hope it helps. From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of blue sky Sent: Sunday, July 05, 2020 18:29 To: tinycc-devel@nongnu.org Subject: [Tinycc-devel] How to programming winsock on tcc Dear Tinycc, My name's Ongta, Tinycc is very good but I cannot write a program that uses winsock as https://docs.microsoft.com/en-us/windows/win32/winsock/complete-server-code Could you help me config to do that. Many thanks,
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel