Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 20th, 2018
77
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
import net/ServerSocket
socket := ServerSocket new("0.0.0.0", 8000, true)
while(true) {
conn := socket accept()
conn in readLine() println()
conn out write("Hello, world!")
conn close()
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 9 min ago | 1.83 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 10 min ago | 0.39 KB
Untitled
C++ | 25 min ago | 4.42 KB
azure mod lite
Lua | 32 min ago | 25.19 KB
Untitled
C++ | 1 hour ago | 3.78 KB
wifi-to-eth-route.sh
Bash | 1 hour ago | 1.54 KB
ACTIVITY 4 ADASYS
MySQL | 1 hour ago | 1.56 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 2 hours ago | 0.38 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!