Advertisement
Ham62

ServerStruct.bi

Feb 1st, 2018
901
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. type ServerStruct
  2.   hSock as socket
  3.   Address as string
  4.   Port as integer
  5.   sInBuff             as string   'the actual variable holding the buffer
  6.   iInBuffPos          as integer  'how much is on the buffer?
  7.   union
  8.     iInBuffFlags        as ubyte  'all below... combined
  9.     type
  10.       bInBuffDiscard :1 as ubyte  'we are discarding all until EOL is found?
  11.       bInBuffDoCheck :1 as ubyte  'there's leftover data to check?
  12.     end type
  13.   end union
  14. end type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement