Port Scanner

Just starting out? Need help? Post your questions and find answers here.
Stephen
User
User
Posts: 21
Joined: Sat Oct 18, 2003 10:36 pm

Port Scanner

Post by Stephen »

i need alittle information on how to sring a port, then give it a +1 with results,
start port =1 so +1 =2 i need to get the port number 2 in a text string
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

your question is not entirely understandable :-/
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
muab256
User
User
Posts: 43
Joined: Mon Apr 28, 2003 4:57 pm

Post by muab256 »

not quite sure what u mean.. perhaps u mean this?:

port1$="1"
port2$=str(val(port1$)+1)

umm.. yes ;)

muab
Stephen
User
User
Posts: 21
Joined: Sat Oct 18, 2003 10:36 pm

Post by Stephen »

i did'nt know what i was talking about my self..
but you got it right
i needed to make a port string then add 1 to it and see the result as 2
Post Reply