Re: [Tinycc-devel] How to programming winsock on tcc
For your convenience, I’ve just added the missing include file “win32/include/winapi/ws2tcpip.h” in mob. Now, MS sample compiles ROOTB from mob C:>tcc -c server.c C:>tcc -o server.exe server.o -lws2_32 C:>server.exe ^C From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of Christian Jullien Sent: Sunday, July 05, 2020 20:55 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] How to programming winsock on tcc You may need to grab more include files from https://download.savannah.gnu.org/releases/tinycc/winapi-full-for-0.9.27.zip C. 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
Re: [Tinycc-devel] How to programming winsock on tcc
You may need to grab more include files from https://download.savannah.gnu.org/releases/tinycc/winapi-full-for-0.9.27.zip C. 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
Re: [Tinycc-devel] How to programming winsock on tcc
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