Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
bas1c1 authored Feb 28, 2023
1 parent 0779ceb commit dd36fce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/client.gs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
use "socket"
use "std"

using(socket = new_socket(ADDR_FAMILY_INTNET, SOCKSTREAM, TCP_PROTOCOL)) {
socket_connect(socket, socket_ip_create("127.0.0.1", 8888))
}

stop()

0 comments on commit dd36fce

Please sign in to comment.