Search found 2 matches

by amine_t
Sun Mar 30, 2014 2:58 pm
Forum: Tricks 'n' Tips
Topic: encrypt/decrypt strings using AES
Replies: 10
Views: 6490

Re: encrypt/decrypt strings using AES

Thank you Said !
is it possible to avoid Base64 encoding ? because it makes encrypted strings larger
by amine_t
Fri Feb 21, 2014 7:04 pm
Forum: Windows
Topic: Server disconnect event
Replies: 5
Views: 4815

Re: Server disconnect event

Solution :

InitNetwork()

Declare winproc(h,m,w,u)

If OpenWindow(0,0,0,100,100,"",#PB_Window_ScreenCentered|#PB_Window_SystemMenu)
SetWindowCallback(@winproc())
con=OpenNetworkConnection("127.0.01",#Server_Port)
If con
Debug "Connected to server"
;since PB doesn't automatically recognize ...