Click here to Skip to main content
15,905,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralInstallation tool Pin
Anthony B.8-Sep-02 23:21
Anthony B.8-Sep-02 23:21 
GeneralRe: Installation tool Pin
[James Pullicino]8-Sep-02 23:35
[James Pullicino]8-Sep-02 23:35 
GeneralRe: Installation tool Pin
Jon Taylor8-Sep-02 23:38
Jon Taylor8-Sep-02 23:38 
GeneralRe: Installation tool Pin
Jawache9-Sep-02 0:08
Jawache9-Sep-02 0:08 
GeneralRe: Installation tool Pin
Alwin759-Sep-02 5:44
Alwin759-Sep-02 5:44 
GeneralFTP problem Pin
veeran8-Sep-02 23:13
veeran8-Sep-02 23:13 
GeneralRe: FTP problem Pin
Renjith Ramachandran8-Sep-02 23:51
Renjith Ramachandran8-Sep-02 23:51 
Generalhelp socket Pin
yuke8-Sep-02 23:00
yuke8-Sep-02 23:00 
Hello,
i have some problem with socket. My client is iPAQ and server a computer.
The client send some bitmap with IRDA;the code is

DEVICELIST devList;
int sizesock;
int count;
HANDLE HandleFile;
int byteread;
int i;
int len=sizeof(devList);
char buffer[4096];
TCHAR szerror[100];
SOCKADDR_IRDA address={AF_IRDA, 0,0,0,0, "c"};
SOCKADDR_IRDA d;
SOCKET sock;
SOCKET e;

DWORD WrittenNum;

if((sock=socket(AF_IRDA, SOCK_STREAM, 0))==INVALID_SOCKET)
{
wsprintf(szerror, TEXT("Errore"));
MessageBox(NULL, szerror, MB_OK);
return;
}

devList.numDevice=0;

while((devList.numDevice==0)&&(count<=NUMETENT))
{
getsockopt(sock, SOL_IRLMP, IRLMP_ENUMDEVICES,(char*)&devList, &len);
count++;

}

for(i=0; i<4;i++)
{
address.irdaDeviceID[i]=devList.Device[0].irdaDeviceID[i];
}

connect(sock, (struct sockaddr *)&address, sizeof(SOCKADDR_IRDA));

but i don't finish.
Help me?

Luca
GeneralRe: help socket Pin
yuke9-Sep-02 0:22
yuke9-Sep-02 0:22 
Questionhow to close the 1st mediaplayer object when opening a second ? Pin
DengJW8-Sep-02 22:38
DengJW8-Sep-02 22:38 
AnswerRe: how to close the 1st mediaplayer object when opening a second ? Pin
Rickard Andersson208-Sep-02 23:09
Rickard Andersson208-Sep-02 23:09 
GeneralRe: how to close the 1st mediaplayer object when opening a second ? Pin
DengJW8-Sep-02 23:29
DengJW8-Sep-02 23:29 
QuestionHow to map pixels to dialog unit Pin
Anonymous8-Sep-02 21:39
Anonymous8-Sep-02 21:39 
AnswerRe: How to map pixels to dialog unit Pin
adamUK8-Sep-02 22:01
adamUK8-Sep-02 22:01 
GeneralExceptions WTF Pin
Rickard Andersson208-Sep-02 21:32
Rickard Andersson208-Sep-02 21:32 
GeneralRe: Exceptions WTF Pin
Joaquín M López Muñoz8-Sep-02 22:37
Joaquín M López Muñoz8-Sep-02 22:37 
GeneralRe: Exceptions WTF Pin
Rickard Andersson208-Sep-02 23:05
Rickard Andersson208-Sep-02 23:05 
GeneralRe: Exceptions WTF Pin
Joaquín M López Muñoz8-Sep-02 23:30
Joaquín M López Muñoz8-Sep-02 23:30 
GeneralRe: Exceptions WTF Pin
Rickard Andersson209-Sep-02 0:39
Rickard Andersson209-Sep-02 0:39 
GeneralRe: Exceptions WTF Pin
Joaquín M López Muñoz9-Sep-02 1:23
Joaquín M López Muñoz9-Sep-02 1:23 
GeneralCRichEditCtrl::LineScroll() Problem! Pin
jabbaj8-Sep-02 20:53
jabbaj8-Sep-02 20:53 
GeneralDoDataExchange problem Pin
Anonymous8-Sep-02 20:36
Anonymous8-Sep-02 20:36 
GeneralRe: DoDataExchange problem Pin
Tomasz Sowinski8-Sep-02 23:37
Tomasz Sowinski8-Sep-02 23:37 
QuestionHow to change the caption? Pin
Daniel Strigl8-Sep-02 20:26
Daniel Strigl8-Sep-02 20:26 
AnswerRe: How to change the caption? Pin
Pavel Klocek8-Sep-02 21:20
Pavel Klocek8-Sep-02 21:20 

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

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