x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Forza has joined #haiku
frkzoid has joined #haiku
matt__ has quit [Ping timeout: 480 seconds]
skirst has quit []
missMyN900 has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
missMyN900 has quit [Read error: Connection reset by peer]
tuaris has quit [Quit: Leaving.]
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
Begasus has joined #haiku
thomaslewis has left #haiku [#haiku]
<Begasus>
g'morning peeps
MajorBiscuit has joined #haiku
<netpositive>
morning
skirst has joined #haiku
Yonle has quit [Remote host closed the connection]
<Begasus>
morning netpositive
Yonle has joined #haiku
freddietilley has joined #haiku
skirst has quit [Remote host closed the connection]
skirst has joined #haiku
MajorBiscuit has quit [Quit: WeeChat 3.5]
MajorBiscuit has joined #haiku
skirst has quit []
AD_MOS has quit [Ping timeout: 480 seconds]
freddietilley has quit [Quit: WeeChat 3.5]
freddietilley has joined #haiku
frkzoid has quit [Read error: Connection reset by peer]
frkzoid has joined #haiku
Begasus_32 has joined #haiku
matt__ has joined #haiku
Anarchos has joined #haiku
frkzoid has quit [Ping timeout: 480 seconds]
matt__ has quit [Read error: Connection reset by peer]
matt__ has joined #haiku
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<andreasdr[m]>
Good morning.
jason123onirc has joined #haiku
<Begasus>
morning andreasdr[m]
<andreasdr[m]>
Good morning Begasus.
matt__ has quit [Read error: Connection reset by peer]
matt__ has joined #haiku
frkzoid has joined #haiku
mmu_man has joined #haiku
matt__ has quit [Ping timeout: 480 seconds]
Kokito has joined #haiku
vdamewood has joined #haiku
matt__ has joined #haiku
frkzoid has quit [Ping timeout: 480 seconds]
freddietilley has quit [Ping timeout: 480 seconds]
thomaslewis has joined #haiku
thomaslewis has left #haiku [#haiku]
mmu_man has quit [Ping timeout: 480 seconds]
AlaskanEmily has quit [Remote host closed the connection]
mmu_man has joined #haiku
freddietilley has joined #haiku
Kokito has quit [Quit: Vision[]: i've been blurred!]
doppler has joined #haiku
frkzoid has joined #haiku
matt__ has quit [Ping timeout: 480 seconds]
freddietilley has quit [Quit: WeeChat 3.5]
freddietilley has joined #haiku
<jadedctrl>
morning o/
<andreasdr[m]>
Good morning.
<nephele>
good day andreasdr
<nephele>
is soooooo much easier than on the damn egg box)
<nephele>
I am kind of wondering whether anyone investigated using a Wii Remote as input device for Haiku, looking it up it uses hid but a bit wierd reports... it's probably doable to support it. I use my Wii as a kind of media center now but have a computer i might replace it with, would be funky to keep the wii remote for it :D (and the awesome input experience it gives, inputting data like search terms on the wii
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Not-8690>
[haikuports/haikuports] threedeyes 98fd0ff - Telegram: bump version
MajorBiscuit has joined #haiku
jason123santa has joined #haiku
Dusan_Krehel has joined #haiku
thomaslewis has joined #haiku
thomaslewis has left #haiku [#haiku]
jadedctrl has quit [Quit: Vision[znc]: i've been blurred!]
jadedctrl has joined #haiku
bitigchi has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
thomaslewis has joined #haiku
tqh has joined #haiku
Gaspare has joined #haiku
freddietilley has quit [Quit: WeeChat 3.5]
thomaslewis has left #haiku [#haiku]
x10z has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
Anarchos has joined #haiku
tqh has quit [Remote host closed the connection]
thomaslewis has joined #haiku
mmu_man has joined #haiku
<Anarchos>
salut mmu_man
thomaslewis has left #haiku [#haiku]
<Anarchos>
my main app launches a network server in a separate thread (with load_image/resume_thread). How can a client know if the server is running ? I have two ideas : one is to use select() to see if the server writes something on its STD_OUT, the other is to connect a socket on the server, and block on a recv() call
dpirate has quit [Remote host closed the connection]
dpirate has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
<Dusan_Krehel>
know u the .pid files?
<Dusan_Krehel>
Anarchos:
<Dusan_Krehel>
Anarchos: know u the .pid files?
<Anarchos>
Dusan_Krehel i don't think we have .pid files on haiku ?
<Anarchos>
Dusan_Krehel i need to know when the server is ready to accept connection.
<Dusan_Krehel>
someone can block the app with firewall?
<Dusan_Krehel>
right is, to open socker, when app is ready
<Dusan_Krehel>
socket
<rennj>
you mean no proc fs for you!!!!
<rennj>
you like the sysfs and procfs ...
<rennj>
hello world!
<Dusan_Krehel>
u dont can use a semafor?
<Dusan_Krehel>
or to use a pipe()
<Anarchos>
Dusan_Krehel the server must be available from remote, so only network socket are available
<Dusan_Krehel>
can u have to open the 2 network sockets?
mmu_man has joined #haiku
<Anarchos>
Dusan_Krehel the simplest solution is to loop on connect() until it succeeds...
<nephele>
Anarchos: maybe send a BMessage to the first thread?
<nephele>
and yes, please don't use pid files, they are never a good idead...
<Dusan_Krehel>
"the simplest solution is to loop on connect() until it succeeds..." basic yes
<Anarchos>
nephele i thought about that, but load_image seems to run the server in its own team ?
thomaslewis has joined #haiku
<nephele>
>Loads an app image into the system (it doesn't load the image into the caller's address space), creates a separate team for the new application, and spawns and returns the ID of the team's main thread.
<nephele>
Yes, looks like you are correct
<nephele>
but you can probably tell it how to contact the first team?
<Anarchos>
nephele maybe but sounds overcomplicated then. I think i will stick to while (connect(serv_socket) <1 {wait(100ms);}
<nephele>
well, if you want to be notified you will have to use some IPC :)
<nephele>
BMessage seems like the apropriate tool on haiku, anyhow
<Anarchos>
nephele i wanted to be notified, if there was a simple solution... a loop could do the trick even if not really smart
MajorBiscuit has quit [Ping timeout: 480 seconds]
tuaris has joined #haiku
austin987 has quit [Remote host closed the connection]
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
Gaspare has joined #haiku
thomaslewis has left #haiku [#haiku]
mmu_man has quit [Quit: reboot]
Gaspare has quit [Read error: Connection reset by peer]
thomaslewis has joined #haiku
frkzoid has quit [Read error: Connection reset by peer]
frkzoid has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
dpirate has quit [Remote host closed the connection]
<Begasus>
heading down, g'night peeps
Begasus has quit [Quit: Leaving]
<andreasdr[m]>
Good night!
Gaspare has joined #haiku
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<trungnt2910[m]>
Any way I can download the latest package from HaikuDepot without hardcoding the version?