xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> [wip][30 Days=success/failure] Porting Either Lwip/wattcp 16
Mi©®os∞ft
post Mar 30 2008, 12:37 AM
Post #1


X-S Member
*

Group: Members
Posts: 147
Joined: 18-August 06
Member No.: 295434



Just started a serious approach that I am going to create a simple PC(server app) <-> Xbox1(listener) TCP sockets based; in 30 days. cool.gif

Will report progress as I achieve something noteworthy. tongue.gif


This post has been edited by Mi©®os∞ft: Mar 30 2008, 12:39 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ressurectionx
post Mar 30 2008, 01:45 PM
Post #2


X-S Knowledgebase
********

Group: Dev/Contributor
Posts: 4212
Joined: 23-June 07
Member No.: 346756
Xbox Version: v1.0
360 version: none



Hey man. I'm a dummy and I don't even know what that is or what it does, but it's great to see other coders out there. Good luck on your project.

~Rx
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Mi©®os∞ft
post Apr 2 2008, 09:54 PM
Post #3


X-S Member
*

Group: Members
Posts: 147
Joined: 18-August 06
Member No.: 295434



Just wondering:

Can TCP work without ICMP and ARP? huh.gif

I am not very deep into how protocols work.

This post has been edited by Mi©®os∞ft: Apr 2 2008, 09:55 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
openxdkman
post Apr 4 2008, 11:10 AM
Post #4


X-S Genius
****

Group: Moderator
Posts: 822
Joined: 2-August 06
Member No.: 292548
Xbox Version: unk
360 version: unknown



physically machines only know each other thanks to their mac adresses
they also know their ip address by that's software

arp protocol is the way machines ask other machines "I'm looking for ip address n.n.n.n, are you there?"
The reply is "yes I'm here. Btw this is my mac adress, remember it"

Then machines store the couples (mac adress<->ip addresses),
because without mac adress packets aren't reaching their target
packets received are filtered at hardware level thanks to mac address
packets received are filtered at software level thanks to ip address

icmp (if I remember well) is protocol that assumes couples ma/ip are set and used to transfert the real things, that is ip packets with data inside, eventually cut in several packets. I would say a normal ip packet is a subset of imcp packet, but I may be wrong. you have to read some rfc's to have a clear view of all this stuff. look for rfcNNNN.txt text files (norms, standards) in rfc repositories on internet (often barely a directory you can explore through ftp).

so yes, you need arp.

This post has been edited by openxdkman: Apr 4 2008, 11:12 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Mi©®os∞ft
post Apr 8 2008, 09:56 PM
Post #5


X-S Member
*

Group: Members
Posts: 147
Joined: 18-August 06
Member No.: 295434



Is this Fragmentation support really required? For now, Can I get that crap out of the source?
[would it cause a huge hit in performance?]

What about intel16 and intel stuff, is it required? big endian <-> little endian conversion... Is it required?

Thanks biggrin.gif

This post has been edited by Mi©®os∞ft: Apr 8 2008, 10:00 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
openxdkman
post Apr 9 2008, 08:16 PM
Post #6


X-S Genius
****

Group: Moderator
Posts: 822
Joined: 2-August 06
Member No.: 292548
Xbox Version: unk
360 version: unknown



pc & xbox1 are intel based
that means your get least significant byte first in structure if you just declare the area in the structure as a long (or longword, or dword or u32 whatever). it's of course a possible source of mistake.
if rfc tells msb (most significan byte) first then that's mean you have to reverse bytes order.

but the worst trap is when compiler decides (without telling you) to add padding bytes in structure to align stuff...

with a packet analyser you can discover such horrible mess.

there are also compilations directive that prevent compiler to touch your structure definition.

I turned fragmentation off also with my first attempts. Then I put it back but never verified what it did.
Probably doesn't change a lots... but I may be wrong.


User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 24th May 2013 - 10:35 PM