GHC Trac Home
GHC Home
Joining In
Working on GHC
Mailing Lists & IRC
GHC Contributors
Documentation
Status Reports
Repositories
Building Guide
Commentary
Debugging
View Tickets
All Bugs
All Tasks
All Feature Req's
All Proposals
My Tickets
Tickets I Created
By Milestone
By OS
By Architecture
Patches for review
Create Ticket
New Bug
New Task
New Feature Req
Wiki
Title Index
Recent Changes
Wiki Notes
Search:
Login
Help/Guide
About Trac
Register
Forgot your password?
Preferences
Wiki
Timeline
Roadmap
View Tickets
Dashboard
Blog
Context Navigation
Back to Ticket #2109
Ticket #2109
: Client.hs
File Client.hs,
215 bytes
(added by Mads,
5 years
ago)
Line
1
module
Client
where
2
3
import
Network
4
import
Control.Concurrent
5
6
import
ServerPort
7
8
main
=
withSocketsDo
$
9
do
hdl
<-
connectTo
"localhost"
serverPort
10
threadDelay
(
10
^
11
)
-- sleep for a very long time
Download in other formats:
Original Format