Re: [twsocket] Server Socket help request

2011-10-31 Thread Arno Garrels
Walter Bohlin wrote: > Does anyone have an example of a socket server written in C++? I'm > struggling to get it working and documentation is sparse. > > Thanking you in advance! Take a look at the ICSv7 cpp demos, there are basic server examples available (ics\cpp\Internet\). -- Arno Garrels

[twsocket] Server Socket help request

2011-10-31 Thread Walter Bohlin
Does anyone have an example of a socket server written in C++? I'm struggling to get it working and documentation is sparse. Thanking you in advance! Walter -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket

Re: [twsocket] how to make browser upload a file

2011-10-31 Thread Wilfried Mestdagh
Hi, I found out if I specify enctype="multipart/form-data" it upload the file. But how do I get the file content in THttpSrv? It seems not to be with ExtractURLEncodedValue. Socketspy shows me that it upload: -265001916915724 Content-Disposition: form-data; name="data

[twsocket] how to make browser upload a file

2011-10-31 Thread Wilfried Mestdagh
Hi, I try to upload a file in THttpSrv, but in ExtractURLEncodedvalue, I only have 'datafile' containing the filename. If I try with socketspy in between the I do not see any upload of the file (only datafile=filename.ext). So I think I'm missing something. This is the generated HTML code to uplo