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:[email protected]] On 
Behalf Of Christian Jullien
Sent: Sunday, July 05, 2020 20:55
To: [email protected]
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:[email protected]] On 
Behalf Of blue sky
Sent: Sunday, July 05, 2020 18:29
To: [email protected]
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
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to