Re: Network scanner

2014-11-11 Thread via Digitalmars-d-learn
On Tuesday, 11 November 2014 at 16:04:21 UTC, ketmar via Digitalmars-d-learn wrote: On Tue, 11 Nov 2014 15:35:28 + RuZzz via Digitalmars-d-learn wrote: netstat reports that the socket is in the TIME_WAIT or CLOSE_WAIT state. i'm not an expert in winsock, but did you tried to set SO_LING

Re: Network scanner

2014-11-11 Thread ketmar via Digitalmars-d-learn
On Tue, 11 Nov 2014 15:35:28 + RuZzz via Digitalmars-d-learn wrote: > netstat reports that the socket is in the TIME_WAIT or CLOSE_WAIT > state. i'm not an expert in winsock, but did you tried to set SO_LINGER to "off"? signature.asc Description: PGP signature

Re: Network scanner

2014-11-11 Thread RuZzz via Digitalmars-d-learn
netstat reports that the socket is in the TIME_WAIT or CLOSE_WAIT state.

Re: Network scanner

2014-11-11 Thread RuZzz via Digitalmars-d-learn
OS WinXP

Re: Network scanner

2014-11-06 Thread RuZzz via Digitalmars-d-learn
Or the program doesn't find the address after IP 192.168.110.34...

Network scanner

2014-11-06 Thread RuZzz via Digitalmars-d-learn
Hi ppl! I want to scan the local network to find nodes with open 80 port. code: import core.thread, core.atomic; import std.stdio, std.system, std.file, std.conv, std.datetime, std.socket, std.socketstream, std.stream; import vibe.core.log; import vibe.d; void main() { ushort port = 80