pok icon indicating copy to clipboard operation
pok copied to clipboard

sending qemu window output over the network

Open AtirChaudary opened this issue 7 years ago • 2 comments

Sir @juli1 @yoogx @joelsherrill @Etienne13 @phipse I have been working with pok for the last two months.Its amazingly powerful OS but i have a small issue which i cannot resolve do to the lack of help available on the internet. I ran all the examples of the POK.But when it runs qemu displays the output. Now what i want is that to get that output and send it over the network so that i can get that output using some ip and port. i wanted to use sockets.h but as its a system call so i was not able to use it i have seen POK OS syscall files but i was not able to understand how you made those. second option we are left with is that through qemu we send that output to network. can you guide me on this ????

AtirChaudary avatar Nov 22 '17 05:11 AtirChaudary

On 11/21/2017 11:20 PM, AtirChaudary wrote:

Sir @juli1 https://github.com/juli1 @yoogx https://github.com/yoogx @joelsherrill https://github.com/joelsherrill @Etienne13 https://github.com/etienne13 @phipse https://github.com/phipse I have been working with pok for the last two months.Its amazing powerful OS but i have a small issue which i cannot resolve do to the lack of help availiable on the internet. I ran all the examples of the POK.But when it runs qemu displays the output. Now what i want is that to get that output and send it over the network so that i can get that output using some ip and port. i wanted to use sockets.h but as its a system call so i was not able to use it i have seen POK OS syscall files but i was not able to udnerstand how you made those. second option we are left with is that through qemu we send that output to network. can you guide me on this ????

On qemu, you can do something like -serial telnet:host:port and then telnet to the port. Look at the options for -serial in the qemu documentation at https://qemu.weilnetz.de/doc/qemu-doc.html. You have the option of udp, tcp, etc.

I recall using udp and netcat as the client as well as the telnet options over the years with qemu.

--joel

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pok-kernel/pok/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AALNiH8T6RFOwlG7M96k2pq_3g-jArzEks5s4682gaJpZM4Qm4CD.

joelsherrill avatar Nov 22 '17 14:11 joelsherrill

sir @joelsherrill i tried this. connection gets established but i cannot get the qemu windows's output when telnet to the port when qemu is closed the connection goes off.

AtirChaudary avatar Nov 23 '17 05:11 AtirChaudary