Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
conexion-socket.py
Fhernd
Feb 7th, 2018
906
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
socket
host
=
'192.168.0.1'
puerto
=
4040
nuevo_socket
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
nuevo_socket.
connect
(
(
host
,
puerto
)
)
nuevo_socket.
close
(
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 62.83 KB
Untitled
3 hours ago | 62.83 KB
Untitled
5 hours ago | 62.97 KB
Untitled
7 hours ago | 62.69 KB
Stationeers - Starter Base: Power Systems Con...
7 hours ago | 1.76 KB
Halo First Strike 33
8 hours ago | 1.32 KB
Halo First Strike 32
8 hours ago | 1.06 KB
Halo First Strike 31
8 hours ago | 1.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!