Click here to Skip to main content
       

C / C++ / MFC

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
AnswerRe: Play Media Filememberjeron131 Jan '13 - 4:28 
GeneralRe: Play Media Filememberjohn563231 Jan '13 - 17:09 
GeneralRe: Play Media Filememberjeron11 Feb '13 - 7:27 
GeneralRe: Play Media Filemembermerano1 Feb '13 - 14:11 
QuestionTCP Server: Render the image on server sidemembertoms from newdelhi30 Jan '13 - 1:29 
AnswerRe: TCP Server: Render the image on server sidemvpRichard MacCutchan30 Jan '13 - 3:01 
GeneralRe: TCP Server: Render the image on server sidemembertoms from newdelhi30 Jan '13 - 16:44 
GeneralRe: TCP Server: Render the image on server sidemvpRichard MacCutchan30 Jan '13 - 21:52 
GeneralRe: TCP Server: Render the image on server sidemembertoms from newdelhi30 Jan '13 - 22:53 
GeneralRe: TCP Server: Render the image on server sidemvpRichard MacCutchan30 Jan '13 - 22:56 
GeneralRe: TCP Server: Render the image on server sidemembertoms from newdelhi30 Jan '13 - 22:59 
GeneralRe: TCP Server: Render the image on server sidemvpRichard MacCutchan30 Jan '13 - 23:08 
AnswerRe: TCP Server: Render the image on server sidememberErudite_Eric30 Jan '13 - 3:13 
Well, you are starting off from the wrong basis here.
 
A TCP server (in fact a client and server) is implemented in the kernel (on WIndows as TCPIP.sys) and supports am interface called TDI (on older Windows OSs and called something else on newer ones). TDI transports across the IO manager (Kernel to USer mode), providing sockets in the user mode for applications to use.
 
So what you need are two apps one that opens a socket and sends a bmp file, and another that waits on a socket and can render that bmp file to the screen.
 
(You can also not directly display UI stuff from the kernel so the stock TCP kernel driver would never be able to display a bmp)
 
If you really wanted to implement a user mode TCP server/client module then the question is why, and the problem is how you are going to send IP packets to the network card. And if you wanted to send Ethernet packets to the network card you would need to implement IP in user mode too. And if you wanted to do that you would need to write a network driver for your card with a interface accessible to the IO manager that you could open in user mode to get those Ethernet packets to it. All in all a massive and complex problem, so just use sockets, its what they are made for, and made by a lot of very clever people who understood the network stack and provided it for people like you to use. Smile | :)
==============================
 
Nothing to say.

GeneralRe: TCP Server: Render the image on server sidemvpRichard MacCutchan30 Jan '13 - 4:35 
GeneralRe: TCP Server: Render the image on server sidememberErudite_Eric30 Jan '13 - 5:01 
GeneralRe: TCP Server: Render the image on server sidemembertoms from newdelhi30 Jan '13 - 16:47 
GeneralRe: TCP Server: Render the image on server sidememberErudite_Eric30 Jan '13 - 22:36 
GeneralRe: TCP Server: Render the image on server sidemembertoms from newdelhi30 Jan '13 - 22:57 
GeneralRe: TCP Server: Render the image on server sidememberErudite_Eric31 Jan '13 - 21:35 
AnswerRe: TCP Server: Render the image on server sidememberAndy Bantly30 Jan '13 - 12:12 
GeneralRe: TCP Server: Render the image on server sidemembertoms from newdelhi30 Jan '13 - 16:51 
GeneralRe: TCP Server: Render the image on server sidememberAndy Bantly3 Feb '13 - 3:58 
QuestionCan a modeless dialog box be a main windowmemberForNow29 Jan '13 - 11:44 
AnswerRe: Can a modeless dialog box be a main windowmember«_Superman_»29 Jan '13 - 19:17 
GeneralRe: Can a modeless dialog box be a main windowmemberForNow29 Jan '13 - 19:34 
AnswerRe: Can a modeless dialog box be a main windowmvpRichard MacCutchan29 Jan '13 - 21:10 
GeneralRe: Can a modeless dialog box be a main windowmemberForNow30 Jan '13 - 7:30 
GeneralRe: Can a modeless dialog box be a main windowmvpRichard MacCutchan30 Jan '13 - 7:34 
GeneralRe: Can a modeless dialog box be a main windowmemberForNow30 Jan '13 - 8:13 
GeneralRe: Can a modeless dialog box be a main windowmvpRichard MacCutchan30 Jan '13 - 9:07 
AnswerRe: Can a modeless dialog box be a main windowmemberErudite_Eric30 Jan '13 - 3:04 
GeneralRe: Can a modeless dialog box be a main windowmemberForNow30 Jan '13 - 7:31 
QuestionAnyone heard of an Anonymous Statistics / User Experience API or ToolkitmemberBlake Miller29 Jan '13 - 6:11 
QuestionHow to load a png image in PictureControl?groupVCProgrammer29 Jan '13 - 1:41 
QuestionRe: How to load a png image in PictureControl?mvpRichard MacCutchan29 Jan '13 - 3:33 
AnswerRe: How to load a png image in PictureControl?groupyu-jian29 Jan '13 - 15:40 
GeneralRe: How to load a png image in PictureControl?groupVCProgrammer30 Jan '13 - 22:19 
GeneralRe: How to load a png image in PictureControl?groupyu-jian1 Feb '13 - 4:04 
GeneralRe: How to load a png image in PictureControl?groupVCProgrammer4 Feb '13 - 1:24 
QuestionIn win7 ,how to modify registry with Non - administrator permissionmemberhaha_c28 Jan '13 - 21:08 
AnswerRe: In win7 ,how to modify registry with Non - administrator permissionmemberJochen Arndt28 Jan '13 - 21:38 
GeneralRe: In win7 ,how to modify registry with Non - administrator permissionmemberhaha_c28 Jan '13 - 22:02 
GeneralRe: In win7 ,how to modify registry with Non - administrator permissionmemberJochen Arndt28 Jan '13 - 22:57 
GeneralRe: In win7 ,how to modify registry with Non - administrator permissionmemberhaha_c28 Jan '13 - 23:18 
GeneralRe: In win7 ,how to modify registry with Non - administrator permissionmemberJochen Arndt28 Jan '13 - 23:33 
QuestionGet CBitmap from CDibmemberFlaviu228 Jan '13 - 20:30 
AnswerRe: Get CBitmap from CDibmemberJochen Arndt28 Jan '13 - 21:31 
QuestionAbout virtual functiongroupEhtishamArshad28 Jan '13 - 19:40 
AnswerRe: About virtual functionmemberjibesh28 Jan '13 - 19:51 
GeneralRe: About virtual functiongroupEhtishamArshad28 Jan '13 - 22:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 20 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid