I have been trying to set up a simple net connection between and XP pc & 98se pc.
the network is fine within window (can ping/browse machines etc) but Dark Basic Pro seems to not want to find any sessions.
here is the code I am using to look for a session :
[/code]perform checklist for net connections
for a=1 to checklist quantity()
print a," . ",checklist string$(a)
next a
set net connection 3 : rem ( my tcp/ip is always listed as the 3rd connection)
perform checklist for net sessions
for b=1 to checklist quantity()
print b,". ";checklist string$(b)
next b
if checklist quantity()=0
print "No Sessions Found"
else
print "at last!!!!!!"
endif
wait key
and here is the code I have been using for creating a session:
perform checklist for net connections
for c=1 to checklist quantity()
print checklist string$(c)
next c
REM TCP/IP is 1
set net connection 1
create net game "test","noob1",2,1
do
cls
set cursor 320,0
if net game exists()
print "Game ON!"
else
print "Game OFF!"
endif
perform checklist for net sessions
print "Sessions Found"
for c=1 to checklist quantity()
print c," ",checklist string$(c)
next c
perform checklist for net players
print "Players Found"
for c=1 to checklist quantity()
print checklist string$(c)
next c
sync
loop[code]
if its blatently wrong, can you please point me in the right direction !
thanks