Yeah TCP is fine, it was just a bug in my code.
Next question:
How would you write to an internet file?
I've set the file permissions on the server to be writable... but i'm still not sure if it's possible to code in blitz?
My code so far is looking like this...
connection2 = OpenTCPStream ( "www.darknimbuspro.com", 80)
If connection2
Print "Connected! Sending request..."
WriteLine connection2,"GET http://www.darknimbuspro.com//RO.txt HTTP/1.0"
WriteLine connection2, Chr$( 10 )
Print "Request sent. Waiting for reply..."
WriteLine(connection2,ClientName)
WriteLine(connection2,ClientClass)
WriteLine(connection2,Clientlvl)
WriteLine(connection2,ClientUpdated)
Else
Print "ERROR: Failed to connect to server."
EndIf
Return
EndIf
EndIf EndIf
Wend
Next question:
How would you write to an internet file?
I've set the file permissions on the server to be writable... but i'm still not sure if it's possible to code in blitz?
My code so far is looking like this...
connection2 = OpenTCPStream ( "www.darknimbuspro.com", 80)
If connection2
Print "Connected! Sending request..."
WriteLine connection2,"GET http://www.darknimbuspro.com//RO.txt HTTP/1.0"
WriteLine connection2, Chr$( 10 )
Print "Request sent. Waiting for reply..."
WriteLine(connection2,ClientName)
WriteLine(connection2,ClientClass)
WriteLine(connection2,Clientlvl)
WriteLine(connection2,ClientUpdated)
Else
Print "ERROR: Failed to connect to server."
EndIf
Return
EndIf
EndIf EndIf
Wend