Re: [twsocket] Sending directly, not via Send Buffer

2006-02-20 Thread Widita Nugraha
On 2/20/06, Wilfried Mestdagh [EMAIL PROTECTED] wrote: Hello Surabaya, - If I send 1222bytes 5 times consecutively (delimited by #13#10#10#13#11#11#13#10#10#13) I'm not sure if this has ever been tested by such long delimiter string. Wy such long delimiter ? Normally you need only

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-20 Thread Widita Nugraha
OK, thanks for your support, I'll try to edit my codes I'll keep you informed about my results.. Regards, Widita On 2/20/06, Francois Piette [EMAIL PROTECTED] wrote: I want to ask about line mode again, You're welcome :-) Is it right that in Line mode: - DataAvailable will

Re: [twsocket] Sending directly, not via Send Buffer

2006-02-20 Thread Widita Nugraha
Hello, somebody, help me... after changing my application to line mode (binary send using line mode, using 4 bytes of unique delimiter) my application keeps giving me Access Violation Message 0x00406645:write of addess 0x00030e4c' or 0x77d4cd7f: write of address 0x00030ffc or EAccesViolation

[twsocket] Requesting an Ephemeral Port

2006-05-01 Thread Widita Nugraha
Hello, I am building a NAT application using WinPCAP and I need to request an ephemeral port to Windows Can anybody share me the code in order to request an ephemeral port? Right now, i've tried to translate the client's HTTP Syn Request to a web server, the web server replied (SYN/ACK) to

[twsocket] Request a Port using WSocket

2006-05-01 Thread Widita Nugraha
I noticed when a WSocket client access a WSocketServer, the client can ask windows to bind itself to a port, how can I bind port without having to connect to a server? I needed to reserve some ports to be used as my mapping port for a NAT application... Maybe WSocket can be used to solve my

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Widita Nugraha
? Regards, SubZero - Original Message - From: Widita Nugraha [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, May 01, 2006 8:10 PM Subject: [twsocket] Requesting an Ephemeral Port Hello, I am building a NAT application using WinPCAP and I need to request

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Widita Nugraha
[EMAIL PROTECTED] wrote: Hello, Is it really possible to build a NAT application with WinPcap/ICS? Doesn't it require a NDIS driver? Any comments? Regards, SubZero - Original Message - From: Widita Nugraha [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, May 01, 2006 8:10 PM

Re: [twsocket] Requesting an Ephemeral Port

2006-05-02 Thread Widita Nugraha
Actually all I need is just to make windows ignore any tcp/udp traffic at a range of ports (eg : 3 - 4). Does Winsock have any facility to do this? The only solution I thought about right now is disabling TCP/IP on the LAN adapter that connected to Internet(WAN). I receive all the

Re: [twsocket] Requesting an Ephemeral Port

2006-05-03 Thread Widita Nugraha
I am using 2 LAN cards... one for WAN and one for Local On 5/3/06, Francois Piette [EMAIL PROTECTED] wrote: Why not having two LAN cards ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Widita Nugraha [EMAIL PROTECTED] To: ICS support mailing twsocket