Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: Play Media File Pinmemberjohn563231-Jan-13 1:07 
AnswerRe: Play Media File Pinmemberjeron131-Jan-13 4:28 
GeneralRe: Play Media File Pinmemberjohn563231-Jan-13 17:09 
GeneralRe: Play Media File Pinmemberjeron11-Feb-13 7:27 
GeneralRe: Play Media File Pinmembermerano1-Feb-13 14:11 
QuestionTCP Server: Render the image on server side Pinmembertoms from newdelhi30-Jan-13 1:29 
AnswerRe: TCP Server: Render the image on server side PinmvpRichard MacCutchan30-Jan-13 3:01 
GeneralRe: TCP Server: Render the image on server side Pinmembertoms from newdelhi30-Jan-13 16:44 
GeneralRe: TCP Server: Render the image on server side PinmvpRichard MacCutchan30-Jan-13 21:52 
GeneralRe: TCP Server: Render the image on server side Pinmembertoms from newdelhi30-Jan-13 22:53 
GeneralRe: TCP Server: Render the image on server side PinmvpRichard MacCutchan30-Jan-13 22:56 
GeneralRe: TCP Server: Render the image on server side Pinmembertoms from newdelhi30-Jan-13 22:59 
GeneralRe: TCP Server: Render the image on server side PinmvpRichard MacCutchan30-Jan-13 23:08 
AnswerRe: TCP Server: Render the image on server side PinmemberErudite_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 side PinmvpRichard MacCutchan30-Jan-13 4:35 
GeneralRe: TCP Server: Render the image on server side PinmemberErudite_Eric30-Jan-13 5:01 
GeneralRe: TCP Server: Render the image on server side Pinmembertoms from newdelhi30-Jan-13 16:47 
GeneralRe: TCP Server: Render the image on server side PinmemberErudite_Eric30-Jan-13 22:36 
GeneralRe: TCP Server: Render the image on server side Pinmembertoms from newdelhi30-Jan-13 22:57 
GeneralRe: TCP Server: Render the image on server side PinmemberErudite_Eric31-Jan-13 21:35 
AnswerRe: TCP Server: Render the image on server side PinmemberAndy Bantly30-Jan-13 12:12 
GeneralRe: TCP Server: Render the image on server side Pinmembertoms from newdelhi30-Jan-13 16:51 
GeneralRe: TCP Server: Render the image on server side PinmemberAndy Bantly3-Feb-13 3:58 
QuestionCan a modeless dialog box be a main window PinmemberForNow29-Jan-13 11:44 
AnswerRe: Can a modeless dialog box be a main window Pinmember«_Superman_»29-Jan-13 19:17 
GeneralRe: Can a modeless dialog box be a main window PinmemberForNow29-Jan-13 19:34 
AnswerRe: Can a modeless dialog box be a main window PinmvpRichard MacCutchan29-Jan-13 21:10 
GeneralRe: Can a modeless dialog box be a main window PinmemberForNow30-Jan-13 7:30 
GeneralRe: Can a modeless dialog box be a main window PinmvpRichard MacCutchan30-Jan-13 7:34 
GeneralRe: Can a modeless dialog box be a main window PinmemberForNow30-Jan-13 8:13 
GeneralRe: Can a modeless dialog box be a main window PinmvpRichard MacCutchan30-Jan-13 9:07 
AnswerRe: Can a modeless dialog box be a main window PinmemberErudite_Eric30-Jan-13 3:04 
GeneralRe: Can a modeless dialog box be a main window PinmemberForNow30-Jan-13 7:31 
QuestionAnyone heard of an Anonymous Statistics / User Experience API or Toolkit PinmemberBlake Miller29-Jan-13 6:11 
QuestionHow to load a png image in PictureControl? PingroupVCProgrammer29-Jan-13 1:41 
QuestionRe: How to load a png image in PictureControl? PinmvpRichard MacCutchan29-Jan-13 3:33 
AnswerRe: How to load a png image in PictureControl? Pingroupyu-jian29-Jan-13 15:40 
GeneralRe: How to load a png image in PictureControl? PingroupVCProgrammer30-Jan-13 22:19 
GeneralRe: How to load a png image in PictureControl? Pingroupyu-jian1-Feb-13 4:04 
GeneralRe: How to load a png image in PictureControl? PingroupVCProgrammer4-Feb-13 1:24 
QuestionIn win7 ,how to modify registry with Non - administrator permission Pinmemberhaha_c28-Jan-13 21:08 
AnswerRe: In win7 ,how to modify registry with Non - administrator permission PinmemberJochen Arndt28-Jan-13 21:38 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission Pinmemberhaha_c28-Jan-13 22:02 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission PinmemberJochen Arndt28-Jan-13 22:57 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission Pinmemberhaha_c28-Jan-13 23:18 
GeneralRe: In win7 ,how to modify registry with Non - administrator permission PinmemberJochen Arndt28-Jan-13 23:33 
QuestionGet CBitmap from CDib PinmemberFlaviu228-Jan-13 20:30 
AnswerRe: Get CBitmap from CDib PinmemberJochen Arndt28-Jan-13 21:31 
QuestionAbout virtual function PingroupEhtishamArshad28-Jan-13 19:40 
AnswerRe: About virtual function Pinmemberjibesh28-Jan-13 19:51 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140814.1 | Last Updated 20 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid