how can i open a port and leave open
how can i open a port and leave open
how can i open a port and leave open
how can i open a port and leave open
how can i open a port and leave open
how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open
how can i open a port and leave open how can i open a port and leave open
how can i open a port and leave open
Go Back  Xtreme Visual Basic Talk > > > how can i open a port and leave open


Reply
 
Thread Tools Display Modes
  #1  
Old 12-09-2000, 05:20 PM
rudy
Guest
 
Posts: n/a
Question how can i open a port and leave open


Hello please help me Thank You alot of smiles
subject in how can i open a port and leave open

i used winsock to scan and open a port but it closes it and open the next one, see i put the winsock coce in a timer
it has to close the port to avoid a error when opening the next port. the code is also listening to see if any thing is happening at that current port that was just open by the winsock scan, now can i open a port and leave it open
and continue to open the next with out generating an error.
lets say
open 100
open 101
open 118
an so on with out closing the port,
later when i want to close any one of these ports i open
i need to no how to close the same ports i just open
lets say i dont want to close all the ports i open
just one,
close port 118
how can i do this or point me to an expert, to me any one that answer my email i considor expert lol.
thank you
hope i was clear :-)
bye and thank you again


Reply With Quote
  #2  
Old 12-11-2000, 08:26 AM
adebuigny adebuigny is offline
Junior Contributor
 
Join Date: Sep 2000
Location: New Orleans
Posts: 197
Default Re: how can i open a port and leave open

I don't think you can open multiple ports with one winsock control. Someone correct me if I am wrong.

If you have a static number of ports you need to open, you can create that many winsock controls. If its dynamic, you will probably have to dig into the winsock api calls.

Goto www.allapi.net for more information on the winsock api.



Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
how can i open a port and leave open
how can i open a port and leave open
how can i open a port and leave open how can i open a port and leave open
how can i open a port and leave open
how can i open a port and leave open
how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open how can i open a port and leave open
how can i open a port and leave open
how can i open a port and leave open
 
how can i open a port and leave open
how can i open a port and leave open
 
-->